﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package org.aswing.ext {
    import flash.events.*;

    public class GridListItemEvent extends MouseEvent {

        public static const ITEM_CLICK:String = "itemClick";
        public static const ITEM_DOUBLE_CLICK:String = "itemDoubleClick";
        public static const ITEM_MOUSE_DOWN:String = "itemMouseDown";
        public static const ITEM_ROLL_OVER:String = "itemRollOver";
        public static const ITEM_ROLL_OUT:String = "itemRollOut";
        public static const ITEM_RELEASE_OUT_SIDE:String = "itemReleaseOutSide";

        private var value;
        private var index:int;
        private var cell:GridListCell;

        public function GridListItemEvent(_arg1:String, _arg2, _arg3:int, _arg4:GridListCell, _arg5:MouseEvent){
            super(_arg1, false, false, _arg5.localX, _arg5.localY, _arg5.relatedObject, _arg5.ctrlKey, _arg5.altKey, _arg5.shiftKey, _arg5.buttonDown);
            this.value = _arg2;
            this.index = _arg3;
            this.cell = _arg4;
        }
        public function getValue(){
            return (this.value);
        }
        public function getCell():GridListCell{
            return (this.cell);
        }
        public function getIndex():int{
            return (this.index);
        }
        override public function clone():Event{
            return (new GridListItemEvent(type, this.value, this.index, this.cell, this));
        }

    }
}//package org.aswing.ext 
